package cn.faifai.tagapi.dto;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class TagDTO {
    private Long id;
    private Long parentId;
    private String name;
    private Date createdAt;
    private Date lastModifiedAt;

    public TagDTO() {
    }

    public TagDTO(String name){
        this.name = name;
    }

    public String toString() {
        return  name;
    }
}
